function setupBstirValues() {bstirFadeTitles[0] = "zapping series. imaginación del estudiante."; bstirFadeLinks[0] = "http://tvcinelibrosymas.blogspot.com/2008/10/zapping-series-imaginacin-del.html"; bstirFadeSnippets[0] = "Thu, 23 Oc <br> dedicado a todos los estudiantes que estén o vayan a estar dentro de poco en época de examenes publicito la tira de..."; bstirFadeTitles[1] = "dr horrible&#39;s sing along blog"; bstirFadeLinks[1] = "http://tvcinelibrosymas.blogspot.com/2008/08/dr-horribles-sing-along-blog.html"; bstirFadeSnippets[1] = "Thu, 14 Au <br> por otro lado, nunca he visto con asiduidad ninguna serie de joss whedon. buffy la he visto a trozos, cuando la echab..."; bstirFadeTitles[2] = "punto y seguido"; bstirFadeLinks[2] = "http://tvcinelibrosymas.blogspot.com/2009/03/punto-y-seguido.html"; bstirFadeSnippets[2] = "Sun, 22 Ma <br> siento haber aparecido tan poco por el blog esta semana, tengo comentarios que contestar y algunos posts que escribir..."; bstirFadeTitles[3] = "la chica que soñaba con una cerilla y un bidón de gasolina. stieg ..."; bstirFadeLinks[3] = "http://tvcinelibrosymas.blogspot.com/2009/03/la-chica-que-sonaba-con-una-cerilla-y.html"; bstirFadeSnippets[3] = "Mon, 30 Ma <br> vuelvo a escribir sobre un libro con el fenómeno editorial del momento, el segundo volumen de la trilogía millenium..."; bstirFadeTitles[4] = "primer contacto. 30 rock 1ª temporada"; bstirFadeLinks[4] = "http://tvcinelibrosymas.blogspot.com/2008/07/primer-contacto-30-rock-1-temporada.html"; bstirFadeSnippets[4] = "Thu, 24 Ju <br> solamente he visto un par de episodios por ahora, pero creo que es suficiente para hacerme una  idea de por donde cam..."; }

        var bstir_FadeOut = 255;
        var bstir_FadeIn=0;
        var bstir_Fade = 0;
        var bstir_FadeStep = 3;
        var bstir_FadeWait = 10000;
        var bstir_bFadeOut = true;
        var bstir_iFadeInterval;

        var bstirFadeLinks;
        var bstirFadeTitles;
        var bstirFadeSnippets;
        var bstirFadeCursor = 0;
        var bstirFadeMax;
        var bstirTitleElement;
        var bstirSnippetElement;

        function startBstir() {
          bstirTitleElement = document.getElementById("bstir_title");
          bstirSnippetElement = document.getElementById("bstir_snippet");
          bstir_iFadeInterval = setInterval(showBstirItem, 10);
          bstirFadeLinks = new Array();
          bstirFadeTitles = new Array();
          bstirFadeSnippets = new Array();
          setupBstirValues();
          bstirFadeMax = bstirFadeLinks.length-1;
          setBstirItem();
        }

        function setBstirItem() {
          bstirTitleElement.innerHTML = bstirFadeTitles[bstirFadeCursor];
          bstirTitleElement.href = bstirFadeLinks[bstirFadeCursor];
          bstirSnippetElement.innerHTML = bstirFadeSnippets[bstirFadeCursor];
        }

        function showBstirItem() {
          if (bstir_bFadeOut) {
            bstir_Fade+=bstir_FadeStep;
            if (bstir_Fade>bstir_FadeOut) {
                  bstirNext();
            }
          } else {
            bstir_Fade-=bstir_FadeStep;
            if (bstir_Fade<bstir_FadeIn) {
              clearInterval(bstir_iFadeInterval);
              setTimeout(bstirResume, bstir_FadeWait);
              bstir_bFadeOut=true;
            }
          }
          if ((bstir_Fade<bstir_FadeOut)&&(bstir_Fade>bstir_FadeIn)){
            bstirTitleElement.style.color = "#" + bstirToHex(bstir_Fade);
            bstirSnippetElement.style.color = "#" + bstirToHex(bstir_Fade);
          }
        }

        function bstirResume() {
          bstir_iFadeInterval = setInterval(showBstirItem, 10);
        }

        function bstirNext() {
                bstirFadeCursor++;
            if (bstirFadeCursor>bstirFadeMax)
              bstirFadeCursor=0;
            setBstirItem();
                bstir_bFadeOut = false;
        }

        function bstirToHex(strValue) {
          try {
            var result= (parseInt(strValue).toString(16));

            while (result.length !=2)
                    result= ("0" +result);
            result = result + result + result;
            return result.toUpperCase();
          }
          catch(e){}
        }

        startBstir();

        